package com.aruba.rmi.service.impl;

import com.aruba.rmi.service.ServerService;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class ServerServiceImpl extends UnicastRemoteObject implements ServerService {

    public ServerServiceImpl() throws RemoteException {
    }

    @Override
    public String demo(String content) throws RemoteException {
        return content + "hello";
    }

}
